﻿using AutoMapper;
using S.Produce.Api.Application.Commands.DeliveryCommands;
using S.Produce.Domains;

namespace S.Produce.Api.Extensions
{
    /// <summary>
    /// 
    /// </summary>
    public class DeliveryProfile : Profile
    {
        /// <summary>
        /// 
        /// </summary>
        public DeliveryProfile()
        {
            CreateMap<DeliveryCreateCommand, Delivery>().ReverseMap();
            CreateMap<DeliveryUpdateCommand, Delivery>().ReverseMap();
        }
    }
}
